import { PAGE404, PAGE500 } from "../../constant";
import { AppRouteRecordRaw } from "../../types";
import Layout from "/@/layouts/index.vue";
const DemoTable: AppRouteRecordRaw[] = [
  {
    path: "/errorPage",
    name: "errorPage",
    meta: {
      title: "异常页",
      icon: "warningFilled",
    },
    component: Layout,
    children: [
      {
        path: "404",
        name: PAGE404,
        meta: {
          title: "404",
        },
        component: () => import("/@/views/emptyData/404.vue"),
      },
      {
        path: "500",
        name: PAGE500,
        meta: {
          title: "500",
        },
        component: () => import("/@/views/emptyData/500.vue"),
      },
      {
        path: "permissionDenied",
        name: "permissionDenied",
        meta: {
          title: "暂无权限",
        },
        component: () => import("/@/views/emptyData/permissionDenied.vue"),
      },
      {
        path: "networkError",
        name: "networkError",
        meta: {
          title: "网络错误",
        },
        component: () => import("/@/views/emptyData/networkError.vue"),
      },
      {
        path: "emptyData",
        name: "emptyData",
        meta: {
          title: "空数据",
        },
        component: () => import("/@/views/emptyData/emptyData.vue"),
      },
    ],
  },
];

export default [];
